Continuous implementation on errors and touch ups. Fixed bugs and added to test file _test9.kxi.