Type-check reshape properly.
Type-check reshape properly.

HIPERFIT/futhark,ihc/futhark,diku-dk/futhark,ihc/futhark,HIPERFIT/futhark,diku-dk/futhark,HIPERFIT/futhark,diku-dk/futhark,ihc/futhark,diku-dk/futhark,diku-dk/futhark