A fast C++ implemenation of a basic calculator for REDHAWK