Added truncate ommand (for grades more than 1.0)
Regrade command logic changed