Fixed bug in the usage of pt3dadd (was passing radius instead of
diameter).