I would like to apply feature normalisation to a numpy array. Normally this would be trivial with python broadcasting, for example one would do something like this: