vsync timing scripts and functions

added fucntions and a script to automate timing test of amplipex,
photodiode, and visual stimulus