jacobi weight space conversion