Update Record.py

implemented "smart dot", which prevents phase shifts from causing cancellation of integrals for actually-strong components.
Note that all arithmetic is still real; we're throwing away i*sins and just keeping cosines, leading to error/twice-as-weak signals.