differential geometry discrete differential geometry applied geometry functional programming Python (Programming Language)