MISC: index arrays with integers

Indexing arrays with floats will be invalid in future releases of
numpy and create a DeprecationWarning in numpy 1.8