added error handling to pac.updates
added ltest.py

Testing code for temperature averaging