Added option for mean subtraction preprocessing