Some new examples, bug fixes, and unittests

These might be nice to add to cvxopt :)