Oops! Sorry! Confusion here! Of course if your input data is not a scaling factor, but two separate dimensions, all I wrote is garbage! I was always thinking in terms of a single scaling factor as input. Sebrosa