perform calculations in a multiprocessing.Process to avoid locking up
add some constants
Merge branch 'module/calc' into dev