added form validation
- added validation
- updated coefficients calculate