Moving math functionality from core to common
Fixing configuration to allow maven build to succeed