1. fix a bug in computing rog, add constrain to prevent the bug caused
by wrong latitude and longitude value of a cell