smurf: Allow the CHUNKWEIGHT config param to be given an algrebraic expression

CHUNKWEIGHT can now be set to an algebraic expression in which the variable
names are FITS keyword names.