Removing uneeded functions.
Changing color input to int values from HEX value.
Made new function for calculating nonlinear gradient using square root.
Other minor modifications.
Removing linear gradient function.