Write results to Asterix
Minor changes and fixes to Asterix read