Replaced np.rank with np.ndim. Also added numexpr.evaluate for
the sqexp function in the kernels.py module to exploit multithreading...