Fixed Resolution input

-Fixed Resolution input calculation by squaring the lateral resolution.