This is a second set of motor map analysis code that I wrote for a different style of motor mapping procedure