Fixed setinv. Fixed spacing. Extended comments.