Replaced array with NMatrix in frobenius calculation
At 2-norm calculation, defaults the dtype to :float64