Template C++ fixed point classes for fast simulation similar to SystemC types