Minor changes.
Minor changes to rotation algorithm
Fixed timing with interval stimulation. Added detailed header info (incomplete).