Allow optimizer object without any constraints
Implmentation of complex support and nD support in optimizer according to issue #73 and issue #74
Required for issue #73 and issue #74
Tests for issue #73 and issue #74