Update README
Implement triangle inequality check