Tiny mistake (square root of something cannot be negative...).