Reworked ground averaging slighlty