90 degree bend calculation