Added MemoryCalculator