General Runge Kutta function

This (hopefully) will provide an array of all values (not including
initial values which can easily be added later) for x, y, z at time t.
For formatting instructions: see commented out text (that following "%"
signs). If you see any glaring mistakes, feel free to change it