implemented fixes for data input and calculations

fixed issue with input fields on sundial.html not being clickable when
maximizing a window.  changed a function name in calculations.js because
it was causing errors(might have been a reserved word or something).