Rapid calculation of the solution scattering profile from a macromolecule of known structure