Can now solve for X
Added method to solve for y in function
Test works