- corrected minor algo errors in primitives - added doxygen @file header
library use later on - some small mods to existing functions