solves 3 equations with three unknowns using matrices. press space while clicking the background to set everything to 0.