Added Matrix Stack
seperated gui