Fixed input reader and Class syntax

Should now work on linprog and local