Changed a set of aray access stuff, and Olufsen 'Cu' stuff in simulationMain