R implementation of soil nitrogen transform modeling by Muler (2004)