Removed numpy dependency
Replaced getopt with argparse