Finished IV manipulation functions. Need to add proper comments to everything now.