lab 1 neighbourhood spatial averaging