I've actually have been working on a site that does this exact same thing for the past few months. I could definitely use some help from developers - feel free to drop me a line if anyone wants to talk.
I personally feel that calculator software should be open source and easy to modify, it not only allows people to learn the background processes by inspecting the code, but it has numerous other educational benefits.