matlab_common folder created and handhogtrainer simplified