Changed Sqrt to CPU performed once instead of per vertex