par2Matrix function

Create Gamma or Theta from vector