Initial commit
Corrected error in 'setinv'