Uvs ready to be merge

Can you provide comments with brief descriptions about what all of these functions do? I can guess what many of them do but we should make it clear for eventual public use. Also comment here if function arguments must meet any specific conditions (i.e. are there any inputs that will break this function?).