added modular inequality inputs and multi-graphing