bug fix, Code works now.

- Corrections to edges under Ice,
- Correction to scaling,
- Variable name change (unifiynig variable names in between files).