added a bit of code so that only positive or only negative weights can b...

...e printed by print_model_weights.py