debugged rebinning function
Converted Prob3OscillationService to new structure