Changed test setup for GradientRamp.
Changed test class layout.
(Retroactively) Drafted all test cases.
Refactored ramp code for readability.
Changed <= operator to < (All tests passing.)