Test Function For MaxIntensityFinding.m