Jordan & Elman dimension error fixes