Added commandline configuration of intra period (-p <intra_period>)