neural network trained with sine, sq, tri waveforms