Unit conversion corrections, added variable motorSpeedMax to input file, correct Tc3to4 matrix