SampleXSLTTransform now calculates average grade