Project 2 Granular Materials implementation