added simulation step for LFM
various fixes