On The Satisfaction Of Modulus And Ambiguity Function Constraints In Radar Waveform Optimization For Detection