Added stride sampling to the log_occupancy call in fitness.c