Are you sure the phase difference should be 90 degrees? For example, adding a sine wave to a cosine wave of the same frequency and amplitude doesn't cancel it out.