fixed error in determinant calculation removed some unnecessary code (compile warnings)
fixed error in determinant calculation
removed some unnecessary code (compile warnings)

Ubitrack/utcore,Ubitrack/utcore,Ubitrack/utcore