added more functionality to this gaussian shit

also changed form a bit