1. A method comprising the steps of: receiving signals; taking samples of said signals; finding a signal magnitude value of each of said signal samples; storing said signal magnitude values; calculating the variance of said stored magnitude values; calculating approximations of probability density functions for each of said stored magnitude values using said variance, so that a number of probability density functions are calculated; averaging the probability density functions calculated; finding the derivative of the average of the probability density functions; forming a gain factor from said derivative of the average of the probability density functions, said average of the probability density functions and one of said signal magnitude values; normalizing each baseband signal sample taken; multiplying said gain factor times each normalized signal sample to obtain gain factor adjusted signal samples; and inserting said gain factor adjusted signal samples into a demodulator.