updating mesh free example for multiple data dimensions