changed working mem to store latex strings. Option passed to __init__
fixed a solve test, and modified addition() function