First working version(it's kinda slow).
Faster calculation engine, javascript rendering speed up
Few minor changes
Merge remote-tracking branch 'origin/master'