Added LobattoBasisTests, and some corrections to the code to make these pass..