added proper convolution for psfs with off-center components.  cleaned up pointer use