new angle function + documentation s4vdpca