added equation solver to affine.py