Map.fitByMeans implemented and tested
Map.fitByMeans implemented and tested