a general purpose calculator with formula templates