JacobiWeightSpace fix for length 1

found bug while running tests