Fixed a bug (forgot to import numpy).