Simulation of human-like robot joint, restricted 3-D motion