better algebra

and finally fixed github for windows since I only have windows right now