thin: fix function definition style
thin: support single value arrays
shader: add support for single value array uniforms