Analysis and improvement of a precision measurement apparatus by A.A.A. Kastelijn