Monte Carlo Aggregation Code (MCAC) Part 1: Fundamentals