Functions lib: Sympson integral formula implemented