Penrith man sentenced for religious comments