modifications

I have made 
- +/- button styling
- weight factor input
- function added on buttons
- removed computational math part on js