Update 1d_Heading.R

A somewhat dramatic revision of the original code to model each petri dish as a 1d system to allow for the use of the code with video tracking data.