Vector-based model of elastic bonds for simulation of granular solids.