Implemented how-long-to-produce method

Working on the final method now.