Fixed zero division error. Added output to solver_test.py. Added method to alignment.py.