v1.1

changed motion detection algorithm