Updated StringFunctions and Bouncing ball