Add flat weights length method
Fixed all unit tests; made backprop a flag in SLN_MLL