start working on "nice" way to automatically generate motor mat files (master script is generate_parameters.m)