still cannot add neighbor term, but fix sun position function