added a lightwight linear equation solver

best for small dense systems