pav-floor-ceiling-nan

Check if floor or ceiling output is NaN, if so use alternate value