C++ template library for performance-critical Monte Carlo simulations of mutation accumulation in stem cells