add: reintroduce selftesting
chg: return constants with unit as dimensioned values
fix: confused cos/tan