bug fix for right-hand side MEX function in Windows
minor cleanup regarding IRK sensitivities