Use advanced indexing support from scipy 0.13 up, this will break lower versions