added tic/toc and diag subroutines to m_time and timing stuff in compute