added pop functions, tested popDouble only, seems to work. Tried making a pushBack function, but it only supports pointers, which is inconvenient to the user, so I left it for the future in case I decide otherwise. Untested