added alpha and beta matrix routines
Merge branch 'master' of https://github.com/deba2000/CS250B
added Z function to subroutines