Don't calculate average for speed.
Removed more code related to old graph code.
Made the XML-output formatted as last version of schema.