Trying to get linear regression working; fixed a few critical bugs.
Working on resolving a conflict.