added assert in get_field_from_matrix_for_coord
floor to real floor operation instead implicit