updated hybrid code, added new examples--  still in progres