added get_current_cell_number function
fixed defect in computing cell boundaries
fixes #7 - hints in settings