Fixed bugs, completed Initial Position

After having issues with multiple scripts, condensed functions.js and
htmlForms.js into KinematicScripts.js. Also finished templates for each
equation, completed functionality for Initial Position calculation.