macf: added macf_period_find; seems to work, TODO: more testing
macf: added macf_period_find; seems to work, TODO: more testing

lgbouma/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,waqasbhatti/astrobase