Merge pull request #265 from y-tag/develop

Refactoring regression/pa.cpp
change the type of some variables from size_t to uint64_t