Microprocessor based sinusoidal waveform synthesis using walsh and related orthogonal functions