Correct reshaping in weight method

Merged Dixit, Jait (jaitd) requested to merge glspace_fixes into master

Merge request reports