Fixed FuncList and added tests.
Fixed DepthMap and added tests.
Added tests to Input.