Adding the fix to the next EcoMod version is exactly my intention, and you deserved a special mention in its release noted, but before we release the fix, could you please test the numbers below?
Code:
{0, 0, 0},
{-0.001, 0, 1},
{0.125, 0, 0},
{0.124, 0, 1},
{0.25, 0, 0},
{0.249, 0, 1},
{0.375, 0, 0},
{0.374, 0, 1},
{0.5, 0, 0},
{0.499, 0, 1},
{0.625, 0, 0},
{0.624, 0, 1},
{0.75, 0, 0},
{0.749, 0, 1},
{0.875, 0, 0},
{0.874, 0, 1},
{1, 0, 0},
{0.999, 0, 1},
///////////////////////////
{0, 1, 0},
{-0.001, 1, 1},
{0.125, 1, 0},
{0.124, 1, 1},
{0.25, 1, 0},
{0.249, 1, 1},
{0.375, 1, 0},
{0.374, 1, 1},
{0.5, 1, 0},
{0.499, 1, 1},
{0.625, 1, 0},
{0.624, 1, 1},
{0.75, 1, 0},
{0.749, 1, 1},
{0.875, 1, 0},
{0.874, 1, 1},
{1, 1, 0},
{0.999, 1, 1},