Added initial formula supporting using math.js.