Added subtraction of mean value