Updated code-generator for NineML->MODL to support heaviside function