landscape metric calculation using sliding window

Landscape metric calculation in a user-defined analysis window.

The window is a regular mesh with specific size and shape.