Started porting and documenting vector-field functions