Fix array types and multiple returns
Merge pull request #1 from fhahn/flowlow_fixes

Fix array types and multiple returns