use divmod in time_to_msc
centis -> cens, and other clean ups.