Full physics model of beam behavior

Summary
Effects impacting on beam stability investigated; most relevant ones included in code with TECHX.