Update and rename snippets.lua to extensions/math.lua