Fixes regarding initval file

Deals with #806 by allowing row and column vectors. Does not alter the field structure yet.