Average Payment Period Calculator