added new module for generating random position at the joints