Fixed issue with openMP exiting loop too early (removing the size arg from schedule dynamic seems to have fixed it). generating good images. going to put project on hold for a bit while I brush up on some fundamental maths