Replace deprecated numpy aliases np.int and np.float with int and float respectively.
np.int
np.float
int
float