Train boolean AND/OR.

Calculation of distance for data types.
Modified Gradient descent Training algorithm.
Example program can train for AND, OR boolean functions.
Added Type conversion from float to bool.
Modified the build configuration.