Laplacian regularized stratified model fitting