Added additional checks for binSize and reference folders in preENCODER.
Included is.wholeNumber in private