added "standalone" version of timecalc that handles direct/custom input.