Added alternate tan method