fixed bug when initializing jThetaArray