Modified main functions in lup.c to allow for easy solving of n*n systems.