Added a file that somewhat explains the algorithm for turning a chemical equation to a matrix and solving it. Also shows how some matrix formulas work.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Changed float types to double types for more precision.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Added function to find GCD of two numbers.

Added function to find GCD of an array of numbers.

Coefficients are now simplified with the use of the GCD. This solves issue #6

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Merge branch 'feature-gcd' into develop
Merge branch 'feature-matrix_var_type_fix' into develop

Conflicts:
	bin/equation-balancer.exe
	obj/main.o
	src/main.c

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Fixed some merge errors and recompiled everything together.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Made new variable type Matrix for use with matrixes and adjusted all functions to accept the new variable and utilize it. Still need to do some work with initializing the matrices and allocating new space with functions. Also may want to use SMatrix* rather than SMatrix.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Changed use of SMatrix to pointers and on the stack. Also adding variable handling functions for creating and freeing matrices.

Signed-off-by: PandaDragonThing <jacob@linuxrocket.net>
Merge branch 'feature-matrix_struct' into develop
Merge branch 'develop'