Revert previous commit.
Change absolut error on relative. Add processing for negative and near zero values.
Change absolut error on relative. Add processing for near zero values.