fixed angle averaging problem in particle filter and created master control program