ScalarFunction added
added tests with opengl
update gitignore