Fixed aggregator function, added minimum finder function
Added parameter estimation and ui helper functions
UI for aggregating and calculating chi
Resetting counters, so that estimation can be done correctly multiple times