further principles
added units option to addParamsToLegend
finished eval except for right errors