Various fixes to webgl.js. Added functions to work with vertex attributes/formats and build interleaved arrays from discrete arrays. Moved miscellaneous notes from webgl.js to the SCRATCH file.