nonparametric surfaces - variational methods