Uses sampling function from gaussian periodic