added self to methods and fixed angle_box_2d as well as added test for that method.
added self to methods and fixed angle_box_2d as well as added test for that method.