added break to euler4 loop, should cut out extra cycles