Emit type signature for ReduceElem and ReduceIfElem
Added some missing remap calls
Fixed structName for structures containing arrays
Merge pull request #75 from alexeyr/array-fixes

Array fixes