Add array size only when array is not None ; also removed two typo
Add array size only when array is not None ; also removed two typo

mwcraig/ccdproc,pulsestaysconstant/ccdproc,indiajoe/ccdproc,evertrol/ccdproc,astropy/ccdproc,crawfordsm/ccdproc