Update main.js

Use this update instead of my last one. This one the charting is really damn close to emulating COCOMO II's