Fixes in RemoveMean