implemented joint generation based on a set of template joints and a set of names in jointchain.py