function [sq,cub] = xpowers(input)
sq = input.^2;
cub = input.^3;