Create calculate.js

Still empty - have to fetch it from a site where i use it