Added run-java program and sparse matrix improvements.