Fix typechecking bug for arrayLength.
Fix bug in unwrap.
Add missing cases in various functions in FOASTyped and FOASCommon.
Change type of storePush to make it more general
Add boundary modes for stencils.
Add case for PopCnt in infer.
Fix some types in FFT.
Put compileR in Core.hs.