> 
> That's a good start.  There are several different kinds, each with their
> own merits.  For general purpose use, a (cos x + 1)/2 envelope -- with

What's 'x'  (units)? 

Andy