A new approach for the numerical calculation of diffraction patterns using starshades | Synapse