added set functions, deleted right, simplified math docs, added examples