finished work on plasticRateN - still need to debug, but it compiles