Statistics for Self localization and mapping using optical and thermal imagery