Off disk-center potential field calculations using vector magnetograms