fixed input checks for tiledimage functions
added test case
smt_decc working on large image extraction