ignore divided by 0 error in numpy when calculating resoltion list from sthol2 list