Ditto. Use `squaredDistance` from breeze.