minor improvements to groovy instruction
IntervalCalc instruction