Added final simulation loop and additional counts extension to output