Added squared version