added support for random sensing matrix