Corrected a bug when converting from real speed to int in agonas2.sml