fix #3148, SubArray indexing with floats
also add float indexing for Ranges