The Development And Implementation Of Numerical Tools For Investigation Into The Granular Dynamics Of Solid Solar System Bodies