(sorry for the noise on the mailing list) The penny finally dropped - there was no "Z" variable defined because the system was defaulting to two dimensions - works much better if called w/ -3d, which is what I'd intended... Sorry, Andy S