Fixed bugs.  Completed first section of complement test.