Enabled points to be eval'd with a single formula in web.js. Added supporting math functions in patterndraw.js.