Updated grid_analsis to include biphasic Schwarz fit