Initial work on coefficient matrix construction.