ocprt now logs outputs even at the final step (but it's nan if it's a function of u), this fixes plotting offset