fixed major bug in heun solver