Added afps key to params.
Many edits. Proofreading\, renaming variables\, adding meanmask functions to sanitizze data.
Changing audio read function to new name.