first sketch of R term, added demo for SSDMatrices
also added regularization term to system to be solved

R term is still wrong most likely..
it worked the whole time, i was printing the wrong array -.-

wtfzomfgrofl