Change input method to comma separated string. Add functions for calculating 3-vector and 4-vector sizes.