added comments
First commit of the generic standardization function with multiple element support
Moved test codes to scripts in the code folder