Fixed bug with numpy.ma.argmax:
 - numpy.ma.argmax chooses "nan" over numbers