Fixed NE pointer calculation

Fixed NE pointer calculation.
Added NW pointer calculation.