Type errors (doing on math on strings is no good).  This should solve that, and added minute precision for initial state