Fixed righ division term and switched to using bsxfun for centering
Do whitening of the data either by PCA or ZCA