Added preprocessing (normalization) of data