Fixed bug...

Was changing the current environmnt and breaking the
neighbors counts. Make a copy of the previous environment
so we can get the old neighbor counts and use that value to
update new environment.