Corrected the error reporting and added support for mean removal