Slider is now a template. Added exponential, logarithmic functions to slider