Simplified initialisation function; detect incorrect filesizes; only warn about incorrect parameter for Haar when the parameter was set manually.