add STPerimeter function to PostgreSql