nonparametric surfaces - variational calculus