memory issues fixed, rbf fitting + DMap sampling