Performance based improvements to sdstoupper & sdstolower modifications and added test cases
Does everything within function and avoids the standard array dereferencing slow down trick