Added functions for getting joint limits