Trying broadcasting during iterative updates
Refactored summary package to match regression package

- Main functionality inside a function call
- Use argparse for argument handling