Added option to flow_dir_at_point