Initial tests completed

test_aff_tr.py now shows that aff_tr_stu.py can reproduce the functionality of aff_tr.c.
Added pyrot.py which defines new rotate function