Program for calculating differential and integral cross sections for quantum mechanical scattering problems from reactance or transition matrices