a: (short version) It's always a good idea to reset the properties on a command before using it in MAYA.
b: take the sum of each of the trial velocities minus the average trial velocity, each of which is squared, then divide that by one less than the number of trials and take the squareroot to find the standard deviation.