Validation of computer navigation for total hip replacement