Squashed commit of the following:

commit 51235eefef902820b0b498115341d2e04405a998
Author: Markus Döring <webmaster@burgerdev.de>
Date:   Sat Jun 29 12:13:21 2013 +0200

    this should be it

commit 6f1c6dfa6ddab23f8a903c33625ec5f4bc4863ee
Author: Markus Döring <webmaster@burgerdev.de>
Date:   Fri Jun 28 17:33:58 2013 +0200

    just take interior for now

commit 230e35f9b8e400c7b6b51756873ac069f9f40f5d
Author: Markus Döring <webmaster@burgerdev.de>
Date:   Fri Jun 28 15:12:01 2013 +0200

    fillmissing: reintroduced random training

commit a69b23b3cd3e076356ffd18be28776d285c91cc0
Author: Markus Döring <webmaster@burgerdev.de>
Date:   Fri Jun 28 12:25:25 2013 +0200

    fillmissing: fixed training condition (only when neccessary)

commit 41f18dec0363f4baf7e03e727a5a9a657f4a965b
Author: Markus Döring <webmaster@burgerdev.de>
Date:   Fri Jun 28 11:43:26 2013 +0200

    fillmissing: fixed some bugs (memory, detector storage)
Merge pull request #95 from burgerdev/pr-fillmissing-bugfixes

fixed some bugs and improved training