added reference to matrix library