KuttaMerson algorithm implemented.