tuned visualize method to work also for higher dimensional points. created two dimensional test