Added flip and zero elimination functionality to minxspan, updated tests