lfp working fine with wrong thr Spectrum, other routines to be updated for different no of elements in thereotical spectrum
solving some problems regarding floating point to double conversions in lfp.pro