FIX silence numpy 1.8 warning for using non integer

In numpy 1.8 using a boolean for the axis argument of np.take is deprecated and throw tons of warnings.
I am fixing that in the metric module.