A Computational Library for Determining the Mechanical Properties of Crystals and Polycrystalline Aggregates