Fixed memory problem in matrix.hpp
Added get_sub_tensor4 to tensor4
Added init_hosvd to t4_hooi
Added quantize_log to tensor4
Added stdev, variance, mean, min, max, abs_min and abs_max to tensor4
Added an ALS without the core as a parameter to t4_hooi
Added missing return type