Added bool uniforms. Bool arrays can be sent using float or int arrays (see glUniform reference)