working PF! Took a lot of tweaking to get predictions within reasonable range. Did a lot of test cases but still potential for problems