Addition of Spray Functionality

Filled out the section that controls the lever arm used in spraying.
Reformatted the code to declare prototypes, then the functions are
listed.