Role of vortex fluctuations in determining superconducting parameters from magnetization data for layered superconductors.