Add support for an averaged output
Merge pull request #20 from bjpirt/add_averaged_output

Add support for an averaged output