* added qsic trim and reduced quadric (intial code)