fixed new-instance bug
wrapped refelctive constructor in a try-catch
added optics clustering algorithm