started compute_real_sf, still incorrect