sped up calculation of point sources. improved plotting scripts