proposed fix for dimensionality issue with P(k) and shears in lensing engine
(#248)