standardPRE function

A function for applying data pre-processing steps