updated a lot of function constraints, added argparse to bias, genFunc bugfix in bias