I didn't check further, but this small difference on the perpendicular probably explains the small mismatch at the end with the value given by @didiplaywell.