Pose-based SLAM with probabilistic scan matching algorithm using a mechanical scanned imaging sonar