Set datatype.
Minor bugfixes, and set output dataTypes.

Also use beginCluster rather than sfQuickInit as spatial.tools is disabled.
Fix for when fill_areas is of length 1.
Fix typo in docs.
Fix datatype assignment.
Optimize masking.
Optimize mask calculations.