refactored basic algebra out of uni_vts
comments, logging and refactoring