MNT: Added default value handling for the 'nx' parameter in 'bin_1D'
MNT: Added test for default value handling of bin_1d
BUG: Fixed bug in bin_1d testing method
Merge pull request #14 from ericdill/bin_1D

Added default value handling in bin_1d and a corresponding test