+ moved penalty lookup and compute_doncc to Plif module