got periodic wrapping for position working and also friction forces, updated element to use array of forces and integration to sum over array, and got auto resize working