Sparse enhancements for MFE

Plus some fixes for edge cases