fixed ocl::norm (previously the function used double as a work type)