Added methods for number of parameters and number of local registers, fixed analysis code