Making A Piecewise Function Continuous