Cosmetic fixes and modified db check function to allow explicit type search
Cosmetic things and added discrete to moment operator
Angle unit test update