changed river calculating
river detection working somehow
removed impnattypo