Determination of electron energy distribution function shape for non-Maxwellian plasmas using floating harmonics method