Finished .sign, .out, .lp. Also refactored some poor code and cleaned up comments