Fix #4 Bug

Correct mapping from freq <-> bin index