Add docstrings to g2d-physics