Wrap function calls in bodies during vectorization

fixes #3