Removed dependency on bc. Fixes #3