Add sqrt method