Simplify square root of 512k^2