Convert a FEM solution function into an array

See Reordering nodal values in accordance with meshgrid created using numpy - #5 by AIJAZ_NAZIR