Fixed bug in is_lindquester and is_complete: distances not indexed by their position
Removed unnecessary check