Fixed bugs, added some features and documented the whole WebCL API.