fixed tap.py libdir problem
enhanced tap.py
added evaluation code