get_fields_no.c: Added weighted sums. Turned off by default