added folder processing to dotprod.py
fixed syntax bug in slinetest.py