The error is telling you that either the K or I or BOth are not correct to swing the arc from the N3 line positionto the N4 line position.
Simply replacing the K/I with a R call makes the code run so something is wrong about your pivot point K/I.
Just a thought, (;-) TP