Beam divergence sigma_d and mosaicity sigma_m should be computed rather that passed as parameters
Not 100% sure whether they are computed or refined from the initial parameters, but the values used to construct ShapeLibrary should not be passed in by the user.