Added DEUSHalo.calculateAvgVelocity(float *)
Don't crash when a file can't be read in a directory, send error