Added resolution to candidate position histogram and fixed bug in filling it.
Fixed bug in calculating average of phi1 and phi2.
Fixed BuildFiles.