Update SPA/PKB.cpp

added calltable and constanttable functions