nearly finished centre-surround feature calculation