More efficient FDEB and naive smoothing

Still need to smooth better, not exactly what expected (some kinks etc)
but much faster implementation.