FIX: Cast floats to int before slicing in robust_covariance.py. Fixes #1608.