Implemented velocity cognacent joint-limit potential, although the basic potential function isn't quite what we want...