Beginning of multidimensional version

Deleted support file,
Added multidimensional sampling,
Fixed some minor bugs,
Still searching for right structure...