Changed Ensemble.getDeviations() to account for selected atom indices

Fixes https://github.com/prody/ProDy/issues/181