add mclass, shape and complex equations for tic and toc
this update is mainly for the tic and toc.