changed from numpy import * to import numpy as np.