maintenances
modified to use Curiously Recurring Template Pattern
Changed LHAC to a class!
fixed a bug in LBFGS::computeLowRanApprox_v2 where p_sics is used in log reg
improved LHAC class and other struct handlings
updated mex file