Updated manual grade rawgrade to upgrade moodle
populating rawgrade with values form finalgrade when null