Nonparametric recovery of multivariate functions with applications to system identification