Investigation Of Factor Graph Optimization For GNSS